package com.company.project.service;
import com.company.project.model.Image;
import com.company.project.core.Service;
import com.company.project.util.PageUtil;

import java.util.List;


/**
 * Created by CodeGenerator on 2018/10/08.
 */
public interface ImageService extends Service<Image> {

    //前台首页轮播图
     List<Image> getImgeList();

    //后台查询前台首页轮播图
    PageUtil<Image> adminGetImageList(Integer index);

    Integer adminGetCount();

    //后台添加图片
    Boolean adminAddImage(Image image);

    //后台修改图片
    Boolean adminUpdateImage(Image image);

    //删除图片
    Boolean adminDelectImage(Image image);
}
